//
//  HomeCommendDetailModel.m
//  Shengzhuli
//
//  Created by FXGuo on 2018/3/15.
//  Copyright © 2018年 kamangkeji. All rights reserved.
//

#import "HomeCommendDetailModel.h"

@implementation HomeCommendDetailModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.fans = [dict[@"fans"] integerValue];
        self.keepCount = [dict[@"keepCount"] integerValue];
        self.ID = dict[@"ID"];
        self.thumbnail = dict[@"thumbnail"];
        self.title = dict[@"title"];
        self.type = dict[@"type"];
        self.applyCount = [dict[@"applyCount"] integerValue];
        self.relevanceId = dict[@"relevanceId"];
        self.startDate = dict[@"startDate"];
        self.content = dict[@"content"];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[HomeCommendDetailModel alloc]initWithDict:dict];
}

@end
